<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout"
      layout:decorate="~{layout/layout}">
<head>
    <title>分类</title>
    <meta name="Keywords" content="keywords" th:content="|${site.getFixKeyWord()}|">
    <meta name="description" content="description" th:content="|${site.getFixDescription()}|">
    <style>
        #content-container:before {
            display: none;
        }
    </style>
</head>
<body>
<ul id="mainnav-menu" class="list-group" layout:fragment="menu"
    th:include="fragments/common::menu('/blogPost/category')"></ul>
<div id="page-content" layout:fragment="content">
    <div class="row fixed-fluid">
        <div class="panel">
            <div class="panel-body">
                        <span th:if="${allCategory.size()>0}" th:each="item:${allCategory}">
                            <a th:text="${item.getTitle()}"
                               th:href="@{/blogPost/category/{catName}/(catName=${item.title})}">分类</a>
                        </span>
            </div>
        </div>
    </div>
</div>
</body>
</html>
